package com.coman404.mvc.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestMapping {


    @AliasFor("path")
    String value() default "";

    @AliasFor("value")
    String path() default "";

    String method() default "GET";

}
